package com.csun.nusing.bean.jsonbean;

/**
 * Created by Administrator on 2017/11/22.
 */

public class BedTimeJsonBean {


    /**
     * status : true
     * message : 床垫实时数据
     * data : {"sleepId":"18686000000461","username":null,"inBedStatus":false,"heartbeat":"72","breath":"13","apneaTime":"0","quality":null,"alarm":0,"action":1}
     */

    private boolean status;
    private String message;
    private BedTimeDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public BedTimeDataBean getData() {
        return data;
    }

    public void setData(BedTimeDataBean data) {
        this.data = data;
    }

    public static class BedTimeDataBean {
        /**
         * sleepId : 18686000000461
         * username : null
         * inBedStatus : false
         * heartbeat : 72
         * breath : 13
         * apneaTime : 0
         * quality : null
         * alarm : 0
         * action : 1
         */

        private String sleepId;
        private String username;
        private boolean inBedStatus;
        private String heartbeat;
        private String breath;
        private String apneaTime;
        private String quality;
        private int alarm;
        private int action;

        public String getSleepId() {
            return sleepId;
        }

        public void setSleepId(String sleepId) {
            this.sleepId = sleepId;
        }

        public Object getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public boolean isInBedStatus() {
            return inBedStatus;
        }

        public void setInBedStatus(boolean inBedStatus) {
            this.inBedStatus = inBedStatus;
        }

        public String getHeartbeat() {
            return heartbeat;
        }

        public void setHeartbeat(String heartbeat) {
            this.heartbeat = heartbeat;
        }

        public String getBreath() {
            return breath;
        }

        public void setBreath(String breath) {
            this.breath = breath;
        }

        public String getApneaTime() {
            return apneaTime;
        }

        public void setApneaTime(String apneaTime) {
            this.apneaTime = apneaTime;
        }

        public String getQuality() {
            return quality;
        }

        public void setQuality(String quality) {
            this.quality = quality;
        }

        public int getAlarm() {
            return alarm;
        }

        public void setAlarm(int alarm) {
            this.alarm = alarm;
        }

        public int getAction() {
            return action;
        }

        public void setAction(int action) {
            this.action = action;
        }
    }
}
